package com.education.expenses.common.dto;

import java.util.ArrayList;
import java.util.List;
/**
 * User: Егор
 * Date: 13.08.12
 * Time: 16:21
 */


public class ResponseDTO {


    private Boolean success;

    private List<String> message;

    public ResponseDTO() {
        message = new ArrayList<String>();
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public List<String> getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message.add(message);
    }

}